home *** CD-ROM | disk | FTP | other *** search
- ;------------------------------------------------------------------------------
- ; .ss.
- ; `²²'
- ; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
- ; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
- ; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
- ; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
- ; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
- ; .sS²°$$$²²°"' d²°'
- ; .$$² .$$'
- ; $$$.,d$$'
- ; `²S$$S²'
- ;------------------------------------------------------------------------------
- ; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
- ;------------------------------------------------------------------------------
- ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
- ;------------------------------------------------------------------------------
-
- Boolean BOOLEAN001
- String STRING001
- String STRING002
- String STRING003
- String STRING004
- String STRING005
- String STRING006
- Byte BYTE001
- Byte BYTE002
- Byte BYTE003
- Byte BYTE004
-
- ;------------------------------------------------------------------------------
-
- Gosub LABEL004
- Gosub LABEL001
- End
- :LABEL001
- Newline
- Print ReadLine(STRING001, 1)
- BYTE002 = GetY()
- BYTE003 = GetX()
- Print STRING003 + " "
- BYTE004 = GetX()
- Print STRING004
- BYTE001 = 1
- Gosub LABEL003
- BOOLEAN001 = 0
- While (BOOLEAN001 == 0) Do
- STRING002 = Asc(Inkey())
- If (STRING002 == 13) Then
- BOOLEAN001 = 1
- Continue
- Endif
- If ((STRING002 == 76) || (STRING002 == 44)) Then
- Dec BYTE001
- If (BYTE001 < 1) BYTE001 = 2
- Gosub LABEL003
- Continue
- Endif
- If ((STRING002 == 82) || (STRING002 == 46)) Then
- Inc BYTE001
- If (BYTE001 > 2) BYTE001 = 1
- Gosub LABEL003
- Continue
- Endif
- If ((STRING002 == 89) || (STRING002 == 121)) Then
- BYTE001 = 2
- Gosub LABEL003
- BOOLEAN001 = 1
- Continue
- Endif
- If ((STRING002 == 78) || (STRING002 == 110)) Then
- BYTE001 = 1
- Gosub LABEL003
- BOOLEAN001 = 1
- Endif
- EndWhile
- Gosub LABEL002
- Return
- :LABEL002
- If (BYTE001 == 1) Then
- KbdStuff "N"
- Else
- KbdStuff "Y"
- Endif
- Return
- :LABEL003
- Select Case (BYTE001)
- Case 2
- Print Chr(13)
- Forward BYTE003 - 1
- Print STRING003
- Print Chr(13)
- Forward BYTE004 - 1
- Print STRING006
- Case 1
- Print Chr(13)
- Forward BYTE004 - 1
- Print STRING004
- Print Chr(13)
- Forward BYTE003 - 1
- Print STRING005
- End Select
- Return
- :LABEL004
- STRING001 = PPEPath() + "403.CFG"
- STRING003 = ReadLine(STRING001, 2)
- STRING004 = ReadLine(STRING001, 3)
- STRING005 = ReadLine(STRING001, 4)
- STRING006 = ReadLine(STRING001, 5)
- Return
-
- ;------------------------------------------------------------------------------
- ;
- ; Usage report (before postprocessing)
- ;
- ; ■ Statements used :
- ;
- ; 1 End
- ; 16 Goto
- ; 18 Let
- ; 11 Print
- ; 11 If
- ; 8 Gosub
- ; 4 Return
- ; 1 Inc
- ; 1 Dec
- ; 1 Newline
- ; 2 KbdStuff
- ; 4 Forward
- ;
- ;
- ; ■ Functions used :
- ;
- ; 2 +
- ; 4 -
- ; 13 ==
- ; 1 <
- ; 1 >
- ; 9 !
- ; 4 ||
- ; 4 Chr()
- ; 1 Asc()
- ; 1 Inkey()
- ; 1 PPEPath()
- ; 5 ReadLine()
- ; 2 GetX()
- ; 1 GetY()
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Analysis flags : No flag
- ;
- ;------------------------------------------------------------------------------
- ;
- ; Postprocessing report
- ;
- ; 0 For/Next
- ; 1 While/EndWhile
- ; 6 If/Then or If/Then/Else
- ; 1 Select Case
- ;
- ;------------------------------------------------------------------------------
- ; AEGiS Corp - Break the routines, code against the machines!
- ;------------------------------------------------------------------------------
-